package com.baliejun.springsell.dto;

/**
 * @Author: LiejunBa
 * @Description:购物车
 * @Date: 2020/12/10 10:58 上午
 */
public class OrderCartDTO {

    //商品ID
    private String productId;

    //商品的数量
    private Integer productQuantity;

    public OrderCartDTO() {
    }

    public OrderCartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getProductQuantity() {
        return productQuantity;
    }

    public void setProductQuantity(Integer productQuantity) {
        this.productQuantity = productQuantity;
    }

    @Override
    public String toString() {
        return "OrderCartDTO{" +
                "productId='" + productId + '\'' +
                ", productQuantity=" + productQuantity +
                '}';
    }


}
